package cn.ffcs.unm.speWorkType.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.speWorkType.dao.SpeWorkTypeDao;
import cn.ffcs.unm.speWorkType.manager.SpeWorkTypeManager;
import cn.ffcs.unm.speWorkType.model.SpeWorkType;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("speWorkTypeManager")
@Scope("prototype")
public class SpeWorkTypeManagerImpl implements SpeWorkTypeManager {

	@Resource
	private SpeWorkTypeDao speWorkTypeDao;

	@Override
	public PageInfo queryPageInfoBySpeWorkType(SpeWorkType speWorkType,
			int currentPage, int pageSize) {
		return speWorkTypeDao.queryPageInfoBySpeWorkType(speWorkType,
				currentPage, pageSize);
	}
}
